package org.example.springboot.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.gitee.sunchenbin.mybatis.actable.annotation.Column;
import com.gitee.sunchenbin.mybatis.actable.constants.MySqlTypeConstant;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.example.springboot.common.entity.BaseEntity;

/**
 * ET灌溉信息
 *
 * @author Fz
 * @since 1.0.0 2024-02-26
 */
@EqualsAndHashCode(callSuper = false)
@Data
@TableName("e_t")
public class ET extends BaseEntity {

    @Column(name = "irrigation_unit_uuid", comment = "灌溉单元基本信息UUID", type = MySqlTypeConstant.VARCHAR, length = 36)
    private String irrigationUnitUuid;

    /**
     * 数据来源设备名称
     */
    @Column(name = "equipment_name", comment = "数据来源设备名称")
    private String equipmentName;

    /**
     * 数据来源设备ID
     */
    @Column(name = "equipment_id", comment = "数据来源设备ID")
    private String equipmentId;

    /**
     * 数据来源设备值
     */
    @Column(name = "equipment_value", comment = "数据来源设备值")
    private String equipmentValue;

    /**
     * 蒸散上限
     */
    @Column(name = "evapotranspiration_limit", comment = "蒸散上限", type = MySqlTypeConstant.FLOAT)
    private Float evapotranspirationLimit;

    /**
     * 决策灌溉水量mm
     */
        @Column(name = "irrigation_volume", comment = "决策灌溉水量mm" , type = MySqlTypeConstant.FLOAT)
    private Float irrigationVolume;

    /**
     * 修正系数
     */
    @Column(name = "coefficient", comment = "修正系数", type = MySqlTypeConstant.FLOAT, decimalLength = 2)
    private Float coefficient;



}